package com.test.learnkotlin



/**
 *Author: chinadragon
 *Time: 2024/3/11 09:15
 */
open class Base1(val name: String) {

    init { println("Initializing Base1") }

    open val size: Int =
        name.length.also { println("Initializing size in Base1: $it") }
}